package com.base.service;

import com.base.po.voip.TourCategory;
import com.base.po.voip.TourCategoryExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TourCategoryService {
    int countByExample(TourCategoryExample example);

    int deleteByExample(TourCategoryExample example);

    int deleteByPrimaryKey(String id);

    int insert(TourCategory record);

    int insertSelective(TourCategory record);

    List<TourCategory> selectByExample(TourCategoryExample example);

    List<TourCategory> selectByLevel1(@Param("parentid") String parentid, @Param("shopid") String shopid);

    TourCategory selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") TourCategory record, @Param("example") TourCategoryExample example);

    int updateByExample(@Param("record") TourCategory record, @Param("example") TourCategoryExample example);

    int updateByPrimaryKeySelective(TourCategory record);

    int updateByPrimaryKey(TourCategory record);
}